|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.actions.Action
public abstract class Action
Class which symbolizes a high level action.
| Constructor Summary | |
|---|---|
Action()
Empty constructor used for inheritance. |
|
Action(AgentID agentID)
Constructor which sets the agentID of an agent. |
|
| Method Summary | |
|---|---|
AgentID |
getAgent()
Returns the ID of the agent which created the action. |
static Bid |
getBidFromAction(Action currentAction)
Method which returns the bid of the current action if it is of the type Offer or else Null. |
abstract java.lang.String |
toString()
Enforces that actions implements a string-representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Action()
public Action(AgentID agentID)
agentID - of the agent which created the action.| Method Detail |
|---|
public AgentID getAgent()
public abstract java.lang.String toString()
toString in class java.lang.Objectpublic static Bid getBidFromAction(Action currentAction)
currentAction - of which we want the offer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||